
package com.insigma.business.qrcode.soldier._consumer.impl;


import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.dto.GovOrgDTO;
import com.insigma.business.qrcode.soldier._consumer.GovOrgConsumer;
import com.insigma.business.qrcode.soldier._provider.GovOrgProvider;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service("govOrgConsumer")
public class GovOrgConsumerImpl implements GovOrgConsumer {

    @Resource
    private GovOrgProvider govOrgProvider;




    @Override
    public BaseResponse<List<GovOrgDTO>> listByEmployeeId(String employeeId) {
        return govOrgProvider.listByEmployeeId(employeeId);
    }

    @Override
    public BaseResponse cleanPinyin() {
        return govOrgProvider.cleanPinyin();
    }


    @Override
    public BaseResponse freshAdminAreaCode() {
        return govOrgProvider.freshAdminAreaCode();
    }


}
